package tutorial;

import javax.jws.WebService;

@WebService(name = "HelloWorld", serviceName = "HelloService")
public class SpringHelloImpl implements HelloWorld {
	public String hello(String text) throws Exception {
		System.out.println(text);
		return text;
	}

	public void stop() {
		new Thread(new Runnable() {
			public void run() {
				System.exit(0);
			}
		}).start();
	}
}
